* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
ul,
ol {
  list-style: none;
}
a {
  color: black;
  text-decoration: none;
  border: none;
  display: block;
}
img {
  max-width: 100%;
  cursor: pointer;
}
button {
  border: none;
  outline: none;
  cursor: pointer;
}
.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}

body {
  /* background-color: #eee; */
  background: url(./bgc2.jpg) center;
}
.logo {
  width: 200px;
  height: 100px;
  margin: 50px auto 0px;
  position: relative;
}
.logo img {
  position: absolute;
  top: -40%;
}
@media (min-width: 500px) {
  .logo {
    width: 400px;
  }
  .logo img {
    position: absolute;
    top: -100%;
  }
}
.searchForm {
  position: relative;
  display: flex;
  margin: 8px 20px 30px;
  justify-content: center;
}
@media (min-width: 500px) {
  .searchForm {
    max-width: 800px;
    margin: 80px auto 30px;
  }
}
.searchForm input {
  padding: 0 45px;
  border: none;
  outline: none;
  width: 100%;
  height: 40px;
  border-radius: 20px;
  background-color: #fff;
  opacity: 0.6;
  font-weight: 700;
  font-size: 17px;
}
.searchForm input:hover {
  box-shadow: 5px 5px 5px 5px rgba(250, 250, 250, 0.5);
}
.searchForm button .icon {
  position: absolute;
  font-size: 15px;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
}
.sites {
  display: flex;
  flex-wrap: wrap;
  margin: 0 40px;
  justify-content: space-between;
}
@media (min-width: 500px) {
  .siteMain {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
  .sites {
    margin-left: 0;
    margin-right: -12.5px;
    justify-content: start;
  }
}
.siteWrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 130px;
  height: 120px;
  margin-bottom: 20px;
  border-radius: 25px;
  background-color: #ccc;
}
@media (min-width: 500px) {
  .siteWrapper:hover {
    background-color: none;
    background-color: rgba(233, 230, 230, 0.8);
  }
  .siteWrapper,
  .addSite {
    margin-right: 12.5px;
  }
}
.siteWrapper span {
  text-align: center;
  width: 100px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.oneSite {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.oneSite > img {
  border-radius: 50%;
  width: 60px;
  font-size: 30px;
}

.addSite span {
  position: absolute;
  left: 50%;
  bottom: 15%;
  transform: translateX(-50%);
}
.addSite {
  position: relative;
  width: 130px;
  height: 120px;
  margin-bottom: 20px;
  /* background-color: #ccc; */
  cursor: pointer;
}
.addSite > .icon {
  position: absolute;
  width: 50px;
  height: 50px;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
}
.delete {
  position: absolute;
  top: 5px;
  right: 5px;
  cursor: pointer;
}
.edit {
  position: absolute;
  top: 5px;
  right: 25px;
  cursor: pointer;
}
@media (min-width: 500px) {
  .delete,
  .edit {
    visibility: hidden;
  }
  .siteWrapper:hover .delete,
  .siteWrapper:hover .edit {
    visibility: visible;
  }
}
.siteLogo {
  position: absolute;
  font-size: 50px;
  display: none;
}
